package com.fyt.reachgo.test;

public class HistogramChart implements Chart {
    private String color;
    private int size;

    public HistogramChart(int size, String color) {
        this.size = size;
        this.color = color;
    }

    @Override
    public void display(String data) {
        System.out.println("显示" + color + "大小："+ size + "，柱状图");
    }

}
